from rest_framework.viewsets import ReadOnlyModelViewSet
from .models import Section
from .serializers import SectionSerializer


class SectionModelViewSet(ReadOnlyModelViewSet):
    queryset = Section.objects.all()
    serializer_class = SectionSerializer
